﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex.Trading {
    
    /// <summary>
    /// The work mode of the trade.
    /// </summary>
    public enum TradeMode {

        /// <summary>
        /// The trade is new (and has not been initialized yet).
        /// </summary>
        New,

        /// <summary>
        /// The trade is active.
        /// </summary>
        Active,

        /// <summary>
        /// The trade is closing. No new orders will be accepted by the user.
        /// The system will liquidate all elements.
        /// </summary>
        Closing,

        /// <summary>
        /// The trade has been closed and completed.
        /// </summary>
        Closed

    }

}
